package com.agentlab.imitation.service;


import java.util.List;

import com.agentlab.imitation.bean.WishList;
import com.agentlab.imitation.bean.WishListId;
import com.agentlab.imitation.service.base.DAO;




public interface WishListService extends DAO<WishList>{

	/**
	 * 根据用户ID找到志愿
	 * @param userid
	 * @return
	 */
	public List<WishList> getListByUserId(Integer userid);
	/**
	 * 根据用户ID和批次找到志愿
	 * @param userid
	 * @return
	 */
	public List<WishList> getListByUserIdAndPc(Integer userid,String pc);
	/**
	 * 保存或修改
	 */
	public void saveOrUpdate(WishList wishList);
	/**
	 * 根据用户ID和批次,院校序号找到志愿
	 * @param userid
	 * @return
	 */
	public List<WishList> getListByUserIdPcYxzyxh(Integer userid,String pc,String yxzyxh);
	/**
	 * 删除某一院校
	 * @param userid
	 * @param pc
	 * @param yxzyxh
	 */
	public void removeYx(Integer userid,String pc,String yxzyxh);
}